Fix fontification bugs with constructors and const.
authorAlan Mackenzie <acm@muc.de>
Sat, 19 Oct 2013 15:11:07 +0000 (15:11 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 19 Oct 2013 15:11:07 +0000 (15:11 +0000)
commit7946a52332c376d44fac98e2c9f94ebb2ded8da6
treeacf2b152d5d37522251aefcab4c5ef4284384b79
parent3155d0d8388557b245af0abcac090dd98220473c
Fix fontification bugs with constructors and const.

* progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
CASE 2) Remove the check for the absence of a suffix construct
after a function declaration with only types (no identifiers) in
the parentheses.  Also, accept a function declaration with just a
type inside the parentheses, if this type can be positively
recognised as such, or if a prefix keyword like "explicit" nails
down the construct as a declaration.
lisp/ChangeLog
lisp/progmodes/cc-engine.el